home *** CD-ROM | disk | FTP | other *** search
- /*****************************************
- HTBtcpip.dll
-
- Copyright TransEra Corporation 1999
-
- DialogThread.cpp
- ****************************************/
- #include "stdafx.h"
- #include "comdll.h"
- #include "DialogThread.h"
-
-
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
-
- #endif
-
-
- extern BOOL g_IsThreadRunning;
-
- /////////////////////////////////////////////////////////////////////////////
- // DialogThread
-
- IMPLEMENT_DYNCREATE(DialogThread, CWinThread)
-
- DialogThread::DialogThread()
- {
- }
-
- DialogThread::~DialogThread()
- {
- }
-
- BOOL DialogThread::InitInstance()
- {
-
- ListenThread();
-
- return TRUE;
- }
-
- int DialogThread::ExitInstance()
- {
-
- g_IsThreadRunning = FALSE;
-
- return CWinThread::ExitInstance();
- }
-
- BEGIN_MESSAGE_MAP(DialogThread, CWinThread)
- //{{AFX_MSG_MAP(DialogThread)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
-
- /////////////////////////////////////////////////////////////////////////////
- // DialogThread message handlers
-
-
-